package com.bao1;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class student {
    @Value("李文丰")
    public
    String name;
    @Value("23")
    public
    int age;
}
